package com.aegis.manage.api.service;

import com.aegis.manage.api.dto.SysPermissionDTO;

import java.util.List;

/**
 * @Author renogo
 *
 * @Version 1.0
 * @Descritube
 */
public interface PermissionServiceApi {

    /**
     * 查询用户权限
     * @param userId
     * @return
     */
    List<SysPermissionDTO> selectUserPermissionByUserId(String userId);


    /**
     * 查询所有权限
     * @return
     */
    List<SysPermissionDTO> selectAll();



}
